home *** CD-ROM | disk | FTP | other *** search
- Path: inforamp.net!ts6-06
- From: rmorin@inforamp.net (Randy Charles Morin)
- Newsgroups: comp.lang.c++
- Subject: Re: HELP NEEDED ON C++ TVISION
- Date: Sat, 09 Mar 96 19:18:46 GMT
- Organization: MiddleWorld SoftWare
- Message-ID: <4hslj3$rsm@sam.inforamp.net>
- References: <891248863wnr@novagrp.demon.co.uk>
- NNTP-Posting-Host: ts6-06.tor.inforamp.net
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- In article <891248863wnr@novagrp.demon.co.uk>,
- Faisal Sheikh <faisal@novagrp.demon.co.uk> wrote:
- >
- >Faisal Sheikh EMail faisal@novagrp.demon.co.uk
- >
- >I have written a program for a simple editor using TVision. I can write
- >on active window using keyboard, but I don't know how to display a
- >string or a character on active window. I have drived the main window
- >from class TAplication and child window from TEditWindow. Can anybody
- >tell me what functions to use. I will be greatful if you can email me.
-
- I'm assuming by active window, you mean the TEditWindow.
-
- char buffer[]="Hello";
- TEditWindow p(...);
- ..
- p.SetText(buffer);
-
- But, I haven't used TVision in almost two years and I might be confusing the
- TEditWindow with the one in OWL.
-
- Agrivar
-